Index: /issm/trunk/src/c/objects/Elements/Penta.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 8665)
+++ /issm/trunk/src/c/objects/Elements/Penta.cpp	(revision 8666)
@@ -6802,5 +6802,5 @@
 		/*For this result,fill the information in the Patch object (element id + vertices ids), and then hand 
 		 *it to the result object, to fill the rest: */
-		patch->fillelementinfo(count,this->id,vertices_ids,6);
+		patch->fillelementinfo(count,this->sid+1,vertices_ids,6);
 		elementresult->PatchFill(count,patch);
 
Index: /issm/trunk/src/c/objects/Elements/Tria.cpp
===================================================================
--- /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 8665)
+++ /issm/trunk/src/c/objects/Elements/Tria.cpp	(revision 8666)
@@ -4547,5 +4547,5 @@
 		/*For this result,fill the information in the Patch object (element id + vertices ids), and then hand 
 		 *it to the result object, to fill the rest: */
-		patch->fillelementinfo(row,this->id,vertices_ids,3);
+		patch->fillelementinfo(row,this->sid+1,vertices_ids,3);
 		elementresult->PatchFill(row,patch);
 
