fixes for the tree_panel