fix wrong locales settings