support displayname and error handling