Fixed errors when the generated particles are outdated