Inventory amount fix