add checking for empty tag. simplified taginfo description
for npm