Fixed bug when tag does not exist show exception