Fix Bugs in receipt