corrected migration problem