same problem. use Map.Entry instead.