fix autocomplete error