autocomplete working with search