fix MapIterator callback