fix double and long tagName