fixed bug when no display name is entered