Index: /issm/trunk/src/c/objects/Beam.cpp
===================================================================
--- /issm/trunk/src/c/objects/Beam.cpp	(revision 3403)
+++ /issm/trunk/src/c/objects/Beam.cpp	(revision 3404)
@@ -274,5 +274,4 @@
 	Matice* matice=NULL;
 	Numpar* numpar=NULL;
-
 	
 	/*Get dof list on which we will plug the pressure values: */
Index: /issm/trunk/src/c/objects/Sing.cpp
===================================================================
--- /issm/trunk/src/c/objects/Sing.cpp	(revision 3403)
+++ /issm/trunk/src/c/objects/Sing.cpp	(revision 3404)
@@ -267,4 +267,10 @@
 	/*Get dof list on which we will plug the pressure values: */
 	GetDofList1(&doflist[0]);
+
+	/*recover objects from hooks: */
+	nodes=(Node**)hnodes.deliverp();
+	matpar=(Matpar*)hmatpar.delivers();
+	matice=(Matice*)hmatice.delivers();
+	numpar=(Numpar*)hnumpar.delivers();
 
 	/*pressure is lithostatic: */
@@ -367,4 +373,10 @@
 	inputs=(ParameterInputs*)vinputs;
 
+	/*recover objects from hooks: */
+	node=(Node**)hnodes.deliverp();
+	matpar=(Matpar*)hmatpar.delivers();
+	matice=(Matice*)hmatice.delivers();
+	numpar=(Numpar*)hnumpar.delivers();
+
 	found=inputs->Recover("surfaceslopex",&slope[0],1,dofs,numgrids,(void**)&node);
 	if(!found)ISSMERROR(" surfaceslopex missing from inputs!");
