fixing typeahead item not rendering corretly when seledcted