diff --git a/libaregexptree/src/RegExpIntegral.cpp b/libaregexptree/src/RegExpIntegral.cpp
index e8365e661c86997417dafd5aa7950eca654b3fbc..9fa9e383a3136f115911db3d1c5ccb0173492287 100644
--- a/libaregexptree/src/RegExpIntegral.cpp
+++ b/libaregexptree/src/RegExpIntegral.cpp
@@ -92,7 +92,7 @@ RegExpElement * RegExpIntegral::integral( const Iteration * node, const Symbol &
 {
     Concatenation * concat = new Concatenation( );
     concat->getElements( ).push_back( new RegExpSymbol( dSymbol.getSymbol( ) ) );
-    concat->getElements( ).push_back( node->getElement( )->clone( ) );
+    concat->getElements( ).push_back( node->clone( ) );
     return concat;
 }