fixed the term inspector’s tag-to-name conversion