fix query string for GET request