fixed checking dead particles