fix chinese char bug