Fixed some math problems in receipt.