Autocompletion is not done correctly, wrong words are completed. selection of the autocomplete list seems to be not updating correctly.