working on fixing receipts table