M-d problem in multi-term mode