fixed error in migration