diff --git a/dumux/common/geometry/intersectionentityset.hh b/dumux/common/geometry/intersectionentityset.hh
index d64a13c9e266fd5a3ad1b274bc71bba2b7a617bf..7fad35dd08ab836297d62ac6a3880c064f38dfaa 100644
--- a/dumux/common/geometry/intersectionentityset.hh
+++ b/dumux/common/geometry/intersectionentityset.hh
@@ -171,7 +171,7 @@ public:
     {
         // make sure the tree don't get out of scope
         domainTree_ = domainTree;
-        targetTree_ = targetTree_;
+        targetTree_ = targetTree;
         build(*domainTree_, *targetTree_);
     }