fix bug in subgroups/show