Rollback change to inventory code