fix logout -> new MP  crash.