Fixed the encoding problem