check if tag is null