fix a bug which made by unicode mode