- minor optimization (no need to recheck URL for null a second time)