hopefully fixed the inventory system