use option name if displayname is missing, hopefully fixes issue #27