fix java.util.ConcurrentModificationException