fix list of groups