Fixed the initialization of collections. Ensure each element in the
collections is its own copy