autocomplete algorithm changes
autocomplete behaviour change, some fixes