all migration errors corrected