Fixed MM errors