repaired migration errors