Division by zero fix.