bug fix for projectTree