fix failed DB migration.