delete function added to tags