improving autocomplete