fix migration.