changed the command that gets group id