fixed a divide by zero bug that occurs when all workers are dead