typeahead fixed. still buggy