deal with receipts and errors