flush out the treeview