java.util.ConcurrentModificationException modifying hashmaps issue solved