diff --git a/NPLib/Core/CMakeLists.txt b/NPLib/Core/CMakeLists.txt
index 47a08e5cdd867f482314ddfbb9aef70e373352e0..4ae28e24d28e2716dca772843161ecb04c86cade 100644
--- a/NPLib/Core/CMakeLists.txt
+++ b/NPLib/Core/CMakeLists.txt
@@ -1,5 +1,5 @@
 add_custom_command(OUTPUT TAsciiFileDict.cxx COMMAND  ../scripts/build_dict.sh TAsciiFile.h TAsciiFileDict.cxx TAsciiFile.rootmap libNPCore.so)  
-add_custom_command(OUTPUT NPDeltaSpectraDict.cxx COMMAND  ../scripts/build_dict.sh NPDeltaSpectra.h NPDeltaSpectraDict.cxx NPDeltaSpectra.rootmap libNPCore.so NPCoreLinkdef.h)  
+add_custom_command(OUTPUT NPDeltaSpectraDict.cxx COMMAND  ../scripts/build_dict.sh NPDeltaSpectra.h NPDeltaSpectraDict.cxx NPDeltaSpectra.rootmap libNPCore.so NPDeltaSpectraLinkdef.h)  
 
 add_custom_command(OUTPUT NPVDetectorDict.cxx COMMAND  ../scripts/build_dict.sh NPVDetector.h NPVDetectorDict.cxx NPVDetector.rootmap libNPCore.so NPCoreLinkdef.h)  
 add_library(NPCore SHARED NPCore.cxx NPVAnalysis.cxx NPAnalysisFactory.cxx NPCalibrationManager.cxx NPOptionManager.cxx RootOutput.cxx RootInput.cxx TAsciiFile.cxx TAsciiFileDict.cxx NPDeltaSpectraDict.cxx NPDetectorManager.cxx NPVDetector.cxx NPVDetectorDict.cxx NPVSpectra.cxx NPDetectorFactory.cxx NPSpectraServer.cxx NPInputParser.cxx NPImage.cxx NPElog.cxx NPDeltaSpectra.cxx)
diff --git a/NPLib/Core/NPCoreLinkdef.h b/NPLib/Core/NPCoreLinkdef.h
index e189b34bd17586b411f724329ef8c79014917bd0..4770cb4c9253d3f93a6a87731e6ea2ca00c74ece 100644
--- a/NPLib/Core/NPCoreLinkdef.h
+++ b/NPLib/Core/NPCoreLinkdef.h
@@ -1,5 +1,3 @@
 #ifdef __CINT__
-//#pragma link C++ defined_in "NPVDetector.h";
 #pragma link C++ class NPL::VDetector+;
-#pragma link C++ class NPL::DeltaSpectra+;
 #endif