new appraoch for fixing group_id problem on Group model