bug fix with tree item view