autocomplete with selection is now working