fixes #1913
Build AutoComplete.
Update history.