fixing spec for calculator