remove a tag form any media before deleting it