fix up the inventory view