genParticle fix