fix for failing on private inventories