fixing migration error