fixed the tree