fix loading locales