added null check to getDisplayName, fixes #79