fix mode name