toggleParticleFilter fix