Fixed calculator bug.