fixing migration dependencies