Division by zero warning fix.