removing special characters from tags