error in migrate corrected