fix for locale reloading