insert skeletons migration: fix for non-local locals