Fix rooted links.