got most of inventory stuff working again