diff --git a/csst_mci_sim/csst_mci_sim.py b/csst_mci_sim/csst_mci_sim.py
index 970d8df527ff0f3998f86c0083cb8b02041594f9..a6bbabb72e3feea03d337fe08d9014c629db575b 100644
--- a/csst_mci_sim/csst_mci_sim.py
+++ b/csst_mci_sim/csst_mci_sim.py
@@ -5071,13 +5071,13 @@ class MCIsimulator():
         
         ##############################################################################################
         ##############################################################################################
-        sourcelist=['EXDF','STAR','PIPR','TRNS','COMB','CALI','DARK','BIAS','FLAT']
-        if self.source not in sourcelist:
+        sourcelist=['EXDF','STAR','PIPR','TRNS','COMB','CALI']
+        
+        cli_list=['FLAT','BIAS','DARK']
+        if self.source not in sourcelist or not in cli_list:
             print('Sourcein is wrong')
             sys.exit(1)
             
-        
-        
         self.information['ver']='01'        
         self._loadGhostModel()             
         self.load_filter_PSF()