fix inventoryActivity