Bug fix: get groupname of group rather than user