remove leaf.