fixed memory error in grpattr.c, group iteration does not work completely yet