Big fix for divide by zero