fix bug mm!=m, this is real. Orz