Replaced 'groups' with 'gid' to avoid an issue