finally fix wrong migration dir being used