diff --git a/spim_registration/timelapse/deconvolution_CPU.bsh b/spim_registration/timelapse/deconvolution_CPU.bsh
index e38a7bc2eadc2abc1335142925c7708e42ba8b0e..f21f94d72529c6304592d7b59a592270ecfc550a 100644
--- a/spim_registration/timelapse/deconvolution_CPU.bsh
+++ b/spim_registration/timelapse/deconvolution_CPU.bsh
@@ -21,7 +21,7 @@ System.out.println( "Load xml file: " );
 System.out.println( "selected_xml = " + image_file_directory + merged_xml);
 
 // Load general Parameters
-parallel_timepoints = System.getProperty( "parallel_timepoints" );
+parallel_timepoints = Integer.parseInt(System.getProperty( "parallel_timepoints" ));
 process_timepoint = System.getProperty( "process_timepoint" );
 process_channel = System.getProperty( "process_channel" );
 process_illumination = System.getProperty( "process_illumination" );
diff --git a/spim_registration/timelapse/deconvolution_GPU.bsh b/spim_registration/timelapse/deconvolution_GPU.bsh
index 7ffb45b36eb239f73eafbefd70a07fb6e610be20..ac8066689dd5d458ef6c48f4e362639626d5ddb5 100644
--- a/spim_registration/timelapse/deconvolution_GPU.bsh
+++ b/spim_registration/timelapse/deconvolution_GPU.bsh
@@ -21,7 +21,7 @@ System.out.println( "Load xml file: " );
 System.out.println( "selected_xml = " + image_file_directory + merged_xml);
 
 // Load general Parameters
-parallel_timepoints = System.getProperty( "parallel_timepoints" );
+parallel_timepoints = Integer.parseInt(System.getProperty( "parallel_timepoints" ));
 process_timepoint = System.getProperty( "process_timepoint" );
 process_channel = System.getProperty( "process_channel" );
 process_illumination = System.getProperty( "process_illumination" );