fixed unicode encoding bug