Fixing typeahead formatting