fixed segmentation fault in browse_treeview model