switch query string