-Yet another fix for inventories