made small corrections to inventory stuff