fixed utf8 encoding bug