cleanup MC_GEN