fix chinese input issue