Inventory Bugfix