fix for locale warning