fix case when user name autocomplete is blank