Fix check inventory.