fix querystring pattern