fix path_info encoding bug