Fix tree view.