fixing config for locale