changes how the remove links work so the exported html will work, and we won't care what the root is.