Be sure that every mode name is unique