Finally fixed migration.