Fixed adjustInventory