fixing autocomplete