fix issue with autocomplete async and html autocomplete