Fix name display bug

Fixes bug caused by name display.