diff --git a/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp b/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp
index 91a39678b40bf3e1b2b5b9371c6d3bb69c38da0c..684b3b81b93869b571673b75dadf940ab0f9f817 100755
--- a/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp
+++ b/Phys/DaVinciTrackScaling/src/TrackScaleState.cpp
@@ -833,8 +833,8 @@ StatusCode TrackScaleState::execute ()
   { return Warning ( "No tracks at location '" + m_input + "'" , StatusCode::SUCCESS ) ; }
   //
   /// perform the action for new run
-  //  const LHCb::ODIN* odin = get<LHCb::ODIN>( evtSvc() , LHCb::ODINLocation::Default) ;
-   LHCb::RecHeader* odin =  get<LHCb::RecHeader>(LHCb::ProcessHeaderLocation::Rec,false);
+  const LHCb::ODIN* odin = get<LHCb::ODIN>( evtSvc() , LHCb::ODINLocation::Default) ;
+  // LHCb::RecHeader* odin =  get<LHCb::RecHeader>(LHCb::ProcessHeaderLocation::Rec,false);
 
   //
   if ( m_new_run || ( m_current_run != odin->runNumber () ) )