fixed a problem with migration files