getting url right