Fix displayname not setting correctly