added remove tag function

added remove tag function