getGroups fixed (?)