fixing migration dependency