fix bug compare on Calc.cs