add protection for particle status different from 1-2-3
minor cosmetic fixes