add the judgment whether the item object is empty