fix migration dependancy