fix locale warning