remove query from url string