fix tree node