repair MMP when it is corrupted
