locale bug fix