fix list iterate for groups