fixes migration files