better getUrl strategy