fixed the migration