I’ve got some problem with clearing the Node

Vec2 center = PhysicsShape::getPolyonCenter(points, pointsCount);
boxsplited[coutloop1] = DrawNode::create();
boxsplited[coutloop1]->setPhysicsBody(PhysicsBody::createPolygon(points, pointsCount));
boxsplited[coutloop1]->setPosition(Vec2(0, 0));
boxsplited[coutloop1]->getPhysicsBody()->setTag(_sliceTag);
Color4F white(1, 1, 1, 1);
Color4F black(1, 0, 1, 1);
boxsplited[coutloop1]->drawPolygon(points, pointsCount, white, 0.5, black);
addChild(boxsplited[coutloop1]);
First step of cleaning global BOX it’s working but the next steps doesnt
it clean Node instead of polygon ;/
I am looking for algorithm
if (coutloop1 == 4){
boxsplited[coutloop1 - 4]->clear();
}.......
if (coutloop1 == ???){
boxsplited[coutloop1 - ???]->clear();
}