fix mro code