fix url normalization with querystring