Fixed deleteItem error