fixing getting url