Inventory section now working

Fixed the inventory section