avoide encoding issue