fix autocompleter example in docs