fixed something in the calculator