diff --git a/downloadversionIRdata.py b/downloadversionIRdata.py
index 797c92f4562c5eef47ca7fef988471bc3cae8c1f..cd3d940a3b58c209cf28b4b54e2363662ede6cc2 100644
--- a/downloadversionIRdata.py
+++ b/downloadversionIRdata.py
@@ -2933,7 +2933,7 @@ def download_heatflux_by_times(port, tstart, tend, time_window=0, threads=1, tes
             if False: ## does not work, the png pictures are interpretated as colors, values are lost
                 exist, time, frames=download_images_by_time_via_png(larchivepath, starttime=tstart, stoptime=tend, time_window=time_window, version=version, threads=threads, verbose=verbose-1)
             else:
-                exist, time, frames=download_images_by_times(larchivepath, starttime=tstart, stoptime=tend, version=version, verbose=verbose-1)
+                exist, time, frames=download_images_by_times(larchivepath, starttime=tstart, stoptime=tend, verbose=verbose-1)
             if exist==False:
                 now=datetime.datetime.now()
                 if verbose > 0:
@@ -2987,7 +2987,7 @@ def download_heatflux_mapping_reference(timepoint=None, version=0, testmode=Fals
 #        version = get_latest_version("QRT_IRCAM_Test/Mapping_reference_Test_1_PARLOG", project=project_ana, testmode=testmode)                                        
 #    larchivepath=base+project_ana+"/QRT_IRCAM_Test/Mapping_reference_Test_1_DATASTREAM/V"+str(version)+"/0/reference"
     ### end of testsample ###
-    exist, time, frames=download_images_by_times(larchivepath, starttime=timepoint, stoptime=int(timepoint+1e9), version=version, verbose=verbose-1)
+    exist, time, frames=download_images_by_times(larchivepath, starttime=timepoint, stoptime=int(timepoint+1e9), verbose=verbose-1)
     mappings={}
     if exist:
         mappings['s']=frames[0]
@@ -3250,7 +3250,7 @@ def give_finger_ID(profile, finger=None, verbose=0):
                 print("give_finger_ID: invalid fingerID found. Please check your input.")
     return success, fingerID
 
-def get_heatflux_profile(port, profile, finger=None, timepoint=1, program=None, tstart=None,
+def get_heatflux_profile(port, profile, finger=None, timepoint=None, program=None, tstart=None,
                          tend=None, testmode=False, version=0, verbose=0):
     """
     returns exist, time, s in m, heat flux in W/m2
@@ -3332,7 +3332,7 @@ def get_heatflux_profile(port, profile, finger=None, timepoint=1, program=None,
                     print("get_heatflux_profile: heatflux data could not be downloaded")
                 return False, 0, 0, 0
 
-def extract_heatflux_profile_from_DL(time, images, profile, finger=None, time_window=1,
+def extract_heatflux_profile_from_DL(time, images, profile, finger=None, time_window=None,
                                      inputchecked=False, verbose=0, testmode=False):
     """
     return exist, time, s in m, heat flux in W/m2
@@ -3390,7 +3390,7 @@ def extract_heatflux_profile_from_DL(time, images, profile, finger=None, time_wi
             return False, 0, 0, 0
             
 def extract_temperature_profile_from_DL(port, time, images, profile, finger=None,
-                                        time_window=1, inputchecked=False, 
+                                        time_window=None, inputchecked=False, 
                                         verbose=0, reference_time=0):
     """