WIP. get rid of grouped elements in the layout if there is one only