passs by ref in autocomplete_alter so changes 'stick'