correcting groupid