locdlg: max length class restricted to 8