collapse-show grid tree structure - bug fixes