handle uri with querystring properly