typeahead and map working