autocomplete bugfix