fix for zero particles