fixed autocompletion for multiple words
added select
added caching