get url correct query string