misc fixes to inventory file