Fix empty displayname. Close #305