[hotfix]Fix encoding bug