Properly set state.mp.