Fixed project so it doesn't crash when back receipt not saved