cleanup links, remove rooturl
cleanups as per request