Inventory fix

Fix to displaying the inventory correctly.