store wires in collection before delete iteration