re-added removed changes for search bar autocomplete