Set nameDisplayMode correctly.