added destroy to typeahead