fixed issues with receipts