minor edits of autocomplete