modifies autocomplete