Fix autocomplete error