fix ConcurrentModificationException