fixing groupid