fixed calculator

fixed the calculator