fixing migration