bug fix tab tree