fixed a few particle bugs