Correct the inventory