trim the query string