fix title encoding bug