Fix calculator.