Index: trunk/magic/remove/src/streaksastrom.c
===================================================================
--- trunk/magic/remove/src/streaksastrom.c	(revision 20280)
+++ trunk/magic/remove/src/streaksastrom.c	(revision 20520)
@@ -39,5 +39,5 @@
             return false;
         }
-    } else {
+    } else if (md) {
         // The metadata is the raw header
         // Assumes GPC1
@@ -63,4 +63,10 @@
             return false;
         }
+    } else {
+        // no metadata regular cell
+        cell_x0 = 0;
+        cell_y0 = 0;
+        xParityCell = 1;
+        yParityCell = 1;
     }
 
