work on typehead autocomplete