tree view bug fixed