Fix inventory problem on InventoryManager