why not use toUrl() ?