fix
fix the bug for parse_query()