diff --git a/modules/deeplearning/cloud_fraction_fcn.py b/modules/deeplearning/cloud_fraction_fcn.py
index 511ce9532d092d17c78ff9bbe890d53941de2e49..2feb826efbf56ee1431b296ed999918c1a73405a 100644
--- a/modules/deeplearning/cloud_fraction_fcn.py
+++ b/modules/deeplearning/cloud_fraction_fcn.py
@@ -810,8 +810,6 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     cld_frac = probs.argmax(axis=3)
     cld_frac = cld_frac.astype(np.int8)
     cld_frac_out = np.zeros((y_len, x_len), dtype=np.int8)
-    lons_out = np.zeros((y_len, x_len), dtype=np.float32)
-    lats_out = np.zeros((y_len, x_len), dtype=np.float32)
     border = int((KERNEL_SIZE - 1)/2)
     cld_frac_out[border:y_len - border, border:x_len - border] = cld_frac[0, :, :]
 
@@ -821,7 +819,7 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
     if out_file is not None:
         np.save(out_file, (cld_frac_out, bt, refl_avg, cp, lons, lats))
     else:
-        return cld_frac_out, bt, refl_avg, cp, lons, lats
+        return [cld_frac_out, bt, refl_avg, cp, lons, lats]
 
 
 def analyze_3cat(file):