Fix to inventory issues.