fix tree remove