fixed a couple if problems with particle effects