fixed treeview collapsing