copy DFA cleaning of types from CSA to MD