modify mm for multy match