bug fixes for gen particles