Index: trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc	(revision 1495)
+++ trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc	(revision 1496)
@@ -160,4 +160,6 @@
         const Int_t n = gpix.GetNumNeighbors();
 
+        Int_t num = TESTBIT(fFlags, kUseCentralPixel) ? 1 : 0;
+
         nphot[i] = TESTBIT(fFlags, kUseCentralPixel) ? (*fEvt)[id].GetNumPhotons() : 0;
         perr[i]  = TESTBIT(fFlags, kUseCentralPixel) ? (*fEvt)[id].GetErrorPhot()  : 0;
@@ -166,10 +168,15 @@
             const UShort_t nid = gpix.GetNeighbor(j);
 
+            if (fPixels->IsBlind(nid))
+                continue;
+
             nphot[i] += (*fEvt)[nid].GetNumPhotons();
             perr[i]  += (*fEvt)[nid].GetErrorPhot();
+
+            num++;
         }
 
-        nphot[i] /= TESTBIT(fFlags, kUseCentralPixel) ? n+1 : n;
-        perr[i]  /= TESTBIT(fFlags, kUseCentralPixel) ? n+1 : n;
+        nphot[i] /= num;
+        perr[i]  /= num;
     }
 
@@ -263,5 +270,8 @@
     MMcRunHeader *mcrun = (MMcRunHeader*)pList->FindObject("MMcRunHeader");
     if (!mcrun)
+    {
+        *fLog << warn << "MBlindPixelCalc::ReInit: Warning - No run header available... no action." << endl;
         return kTRUE;
+    }
 
     Int_t rah, ram, ras;
@@ -272,5 +282,5 @@
     if (rah!=5 || ram!=34 || ras!=32 || ded!=22 || dem!=0 || des!=55)
     {
-        *fLog << warn << "Warning - Detected Starfield unknown..." << endl;
+        *fLog << warn << "Warning - Starfield unknown..." << endl;
         return kTRUE;
     }
Index: trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h	(revision 1495)
+++ trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.h	(revision 1496)
@@ -42,5 +42,5 @@
         b ? SETBIT(fFlags, kUseInterpolation) : CLRBIT(fFlags, kUseInterpolation);
     }
-    void SetUseCetralPixel(Bool_t b=kTRUE)
+    void SetUseCentralPixel(Bool_t b=kTRUE)
     {
         b ? SETBIT(fFlags, kUseCentralPixel) : CLRBIT(fFlags, kUseCentralPixel);
