undoing the links.