clean displayname parameter before saving.