to work with typeahead bootstrap