fixed mdi destructor for connector