fix typeahead problem with strings containing - _