diff --git a/modules/util/viirs_l1b_l2.py b/modules/util/viirs_l1b_l2.py
index 6e9f238be47f3909f838a5003163e2a70c4492ad..b3c397832ac8df352293e5ce04cb72f0411abba0 100644
--- a/modules/util/viirs_l1b_l2.py
+++ b/modules/util/viirs_l1b_l2.py
@@ -64,8 +64,9 @@ def process_cld_prob_(grd_k, dum):
     if num_keep / grd_k.size < 0.98:
         return None
     # hist_10 += np.histogram(grd_k.flatten(), range=[0.0, 1.0], bins=10)[0]
-    keep = np.where(keep, grd_k < 0.20, False)
-    frac_keep = np.sum(keep)/num_keep
+    keep_clr = np.where(keep, grd_k < 0.20, False)
+    # frac_keep = np.sum(keep)/num_keep
+    frac_keep = np.sum(keep_clr)/num_keep
     if not (0.40 < frac_keep < 0.60):
         return None
     grd_k = np.where(np.invert(keep), 0, grd_k)  # Convert NaN to 0