fix treeAdd