made rootUrl() use url()