fixed encoding bug
fixed encoding bug