Correct error in TextInventory.