fix locale bug