fixing url call