hard problem to interate the unordered_map