remove a link from tree