The logic of unit associating with inventories was modified.