fix encoding issue.