debug use of tags in extraction