fixed the error with autocomplete with wp-cli