fixing particlecollision