added CompoundType
show child nodes only if the node is hierarchical