tree-view fix