fix encoding problem