fixed a locale display bug