diff --git a/Reconstruction/egamma/egammaAlgs/src/electronSuperClusterBuilder.cxx b/Reconstruction/egamma/egammaAlgs/src/electronSuperClusterBuilder.cxx
index 0ba40bd73d30ca2b4144827772ac348a0b14c1a8..80dee18d0c823483456d68912929bf78b930fbaf 100644
--- a/Reconstruction/egamma/egammaAlgs/src/electronSuperClusterBuilder.cxx
+++ b/Reconstruction/egamma/egammaAlgs/src/electronSuperClusterBuilder.cxx
@@ -173,7 +173,7 @@ electronSuperClusterBuilder::execute(const EventContext& ctx) const
     // Push back the new cluster into the output container.
     outputClusterContainer->push_back(std::move(newClus));
     ElementLink<xAOD::CaloClusterContainer> clusterLink(*outputClusterContainer,
-                                                        outputClusterContainer->size() - 1);
+                                                        outputClusterContainer->size() - 1,ctx);
     std::vector<ElementLink<xAOD::CaloClusterContainer>> elClusters{ clusterLink };
 
     // Make egammaRec object, and push it back into output container.
diff --git a/Reconstruction/egamma/egammaAlgs/src/photonSuperClusterBuilder.cxx b/Reconstruction/egamma/egammaAlgs/src/photonSuperClusterBuilder.cxx
index 4863129319604757ab000f0c5f0448975a37bf95..69acee220f30e611636234e635f13f22ab45a79e 100644
--- a/Reconstruction/egamma/egammaAlgs/src/photonSuperClusterBuilder.cxx
+++ b/Reconstruction/egamma/egammaAlgs/src/photonSuperClusterBuilder.cxx
@@ -162,7 +162,7 @@ photonSuperClusterBuilder::execute(const EventContext& ctx) const
 
     // Add the cluster link to the super cluster
     ElementLink<xAOD::CaloClusterContainer> clusterLink(*outputClusterContainer,
-                                                        outputClusterContainer->size() - 1);
+                                                        outputClusterContainer->size() - 1,ctx);
     std::vector<ElementLink<xAOD::CaloClusterContainer>> phCluster{ clusterLink };
 
     ///////////////////////////////////////////////////////