fix non-ascii character error