deal with unicode issue