Fix for locale and migration.