strip query string params to dispathcer