fix migration order