Fix autocomplete problems.