diff --git a/reco/base/CbmRecoUnpackConfig.tmpl b/reco/base/CbmRecoUnpackConfig.tmpl
index 6e74e77dca818097eda55488885d073c562f1397..7072c5fc68fa1d6850a11c5ad9845e90fce3e39b 100644
--- a/reco/base/CbmRecoUnpackConfig.tmpl
+++ b/reco/base/CbmRecoUnpackConfig.tmpl
@@ -172,7 +172,7 @@ public:
    * In this function also all initialization steps of the unpacker algorithms have to happen.
    * @return std::shared_ptr<CbmRecoUnpackAlgo>
   */
-  std::shared_ptr<CbmRecoUnpackAlgo<TOutput, TOptOutA, TOptOutB>> GetUnpacker() { return fAlgo; };
+  std::shared_ptr<TAlgo> GetUnpacker() { return fAlgo; };
 
   /**
    * @brief Get the requested parameter containers from the Algo.