fix encoding problem.