try to fix inventories