fix(typeahead): fixed waitTime functionality