fix bug in ending report
fix bug in ending report 2
Merge pull request #73 from Gryphyn23/master

fix bug in ending inventory report