fixing of the tree