fix treeviewer