fixed bath to typeahead script