fixed bug where particles were not deleted