finish tree view