fix typhead & autocomplete