create a list from the map iterator

otherwise the iterator empties out