sanity check for groups