tree view fixes