autocomplete cleanup