Inventory errors and corrections