Index: /issm/trunk/src/c/objects/Loads/Penpair.cpp
===================================================================
--- /issm/trunk/src/c/objects/Loads/Penpair.cpp	(revision 5939)
+++ /issm/trunk/src/c/objects/Loads/Penpair.cpp	(revision 5940)
@@ -31,4 +31,5 @@
 
 	this->hnodes=NULL;
+	this->nodes=NULL;
 	this->parameters=NULL;
 	return;
@@ -42,4 +43,5 @@
 	this->hnodes=new Hook(penpair_node_ids,2);
 	this->parameters=NULL;
+	this->nodes=NULL;
 	
 	return;
@@ -139,6 +141,7 @@
 	hnodes=new Hook(); hnodes->Demarshall(&marshalled_dataset);
 
-	/*parameters: may not exist even yet, so let Configure handle it: */
-	this->parameters=NULL;
+	/*pointers are garbabe, until configuration is carried out: */
+	nodes=NULL;
+	parameters=NULL;
 
 	/*return: */
@@ -166,4 +169,5 @@
 	/*now deal with hooks and objects: */
 	penpair->hnodes=(Hook*)this->hnodes->copy();
+	penpair->nodes =(Node**)penpair->hnodes->deliverp();
 
 	/*point parameters: */
@@ -182,4 +186,8 @@
 	 * datasets, using internal ids and offsets hidden in hooks: */
 	hnodes->configure(nodesin);
+
+	/*Initialize hooked fields*/
+	this->nodes  =(Node**)hnodes->deliverp();
+
 	/*point parameters to real dataset: */
 	this->parameters=parametersin;
@@ -265,5 +273,4 @@
 ElementMatrix* Penpair::PenaltyCreateKMatrixDiagnosticHoriz(double kmax){
 
-	Node** nodes=(Node**)hnodes->deliverp();
 	int    approximation0=nodes[0]->GetApproximation();
 	int    approximation1=nodes[1]->GetApproximation();
@@ -304,7 +311,4 @@
 	double penalty_offset;
 
-	/*recover pointers: */
-	Node** nodes=(Node**)hnodes->deliverp();
-
 	/*Initialize Element vector and return if necessary*/
 	ElementMatrix* Ke=NewElementMatrix(nodes,NUMVERTICES,this->parameters);
@@ -334,7 +338,4 @@
 	double penalty_offset;
 
-	/*recover pointers: */
-	Node** nodes=(Node**)hnodes->deliverp();
-
 	/*Initialize Element vector and return if necessary*/
 	ElementMatrix* Ke=NewElementMatrix(nodes,NUMVERTICES,this->parameters);
Index: /issm/trunk/src/c/objects/Loads/Penpair.h
===================================================================
--- /issm/trunk/src/c/objects/Loads/Penpair.h	(revision 5939)
+++ /issm/trunk/src/c/objects/Loads/Penpair.h	(revision 5940)
@@ -21,4 +21,5 @@
 		
 		Hook* hnodes;  //hook to 2 nodes
+		Node** nodes;
 
 		Parameters* parameters; //pointer to solution parameters
