it shouldn't ever be null unless you access the url directly