fix ascii encoding issue