[particle] fixed Heisenbug resulting from static declaration.