fix tree