Correct encoding bug.