fix groupSize in group2 writer result