fix ConcurrentModificationException in getBootstrapSource