remove mpconfig related codes