calculate currency correctly in integration classes