fixed tag stripping