make autocomplete work better