Fix autocomplete to auto set input