fix calculate's first operand