locale bug fixed