better handle of deep level groups