fixed the calculator!