added autocompleter

missing `var`