rewrite injecttag , easier to render tags with hits