invalid charaters autocomplete replaced