fixed weird dom mutation bug. Always return the same kind of tag