fixed a tree