Fixed add method in EditTree