Fix undefined item with a tag