fixed race condition in summarizer_map