tweaks to autocomplete