fix bug when trying to set a member by username.