fixed smaller nits in receipts code