fixed stuff in treetalbe