fix tag removal