added exception message for duplicate mm_id