fixed encoding problem