reset mp before rleasing