avoiding potential ConcurrentModificationException