autocomplete fixing