debugging autocomplete