diff --git a/downloadversionIRdata.py b/downloadversionIRdata.py
index eacdf443e348b5e152cb86c16a1e071fe6d52551..6e0fa005887bce36f17ffc3f949adda28e3015c8 100644
--- a/downloadversionIRdata.py
+++ b/downloadversionIRdata.py
@@ -549,7 +549,7 @@ def get_temp_from_raw_by_program_V1(portnr,program,time_s=0,emi=0.8,divertorpart
                                             temperatureimages=images
                                             times=time
                                         else:
-                                            temperatureimages=np.append(temperatureimages,images)
+                                            temperatureimages=np.append(temperatureimages,images,axis=0)
                                             times=np.append(times,times)                                        
                                     else:
                                         print("cannot download the raw images")
@@ -604,7 +604,7 @@ def get_temp_from_raw_by_program_V1(portnr,program,time_s=0,emi=0.8,divertorpart
                                         temperatureimages=images
                                         times=time
                                     else:
-                                        temperatureimages=np.append(temperatureimages,images)
+                                        temperatureimages=np.append(temperatureimages,images,axis=0)
                                         times=np.append(times,times)                                        
                                 else:
                                     print("cannot download the raw images")