fix migration dir regression