Bug, output particles have no class number information

I imported a particle stack into cryoSPARC for 2D classification. When trying to export selected classes, I transformed the .cs file into .star using cs2sparc.py in pyem. But I found that class number information is all 1 in the star file. Is there a workaround to get correct class numbers?