remove root of the tree