get the url right