fix for locale problem