Fixed ConcurrentModificationException.