Index: trunk/BNC/src/PPP/pppFilter.cpp
===================================================================
--- trunk/BNC/src/PPP/pppFilter.cpp	(revision 10589)
+++ trunk/BNC/src/PPP/pppFilter.cpp	(revision 10590)
@@ -152,5 +152,5 @@
     // First-Design Matrix, Terms Observed-Computed, Weight Matrix
     // -----------------------------------------------------------
-    Matrix AA(maxObs, nPar);
+    Matrix AA(maxObs, nPar);   AA = 0.0;
     ColumnVector ll(maxObs);   ll = 0.0;
     DiagonalMatrix PP(maxObs); PP = 0.0;
@@ -266,5 +266,11 @@
       }
       if (par) {
-        resetAmb(obs->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
+        if (par->ambResetCandidate()) {
+          resetAmb(obs->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
+        }
+        else {
+          par->setAmbResetCandidate();
+          obs->setOutlier();
+        }
       }
       else {
@@ -386,5 +392,5 @@
         firstObsTime = lastObsTime : firstObsTime = par->firstObsTime();
       t_lc::type tLC = par->tLC();
-//   if (tLC != lc) {continue;}
+      if (tLC != lc) {continue;}
       LOG << string(_epoTime) << " RESET " << par->toString() << endl;
       delete par; par = new t_pppParam(t_pppParam::amb, prn, tLC, &obsVector);
Index: trunk/BNC/src/PPP/pppParlist.cpp
===================================================================
--- trunk/BNC/src/PPP/pppParlist.cpp	(revision 10589)
+++ trunk/BNC/src/PPP/pppParlist.cpp	(revision 10590)
@@ -431,17 +431,18 @@
   // Receiver Clocks
   // ---------------
-   if (_usedSystems['G']) {
+   //if (_usedSystems['G']) {
+   if (OPT->useSystem('G')) {
      required.push_back(new t_pppParam(t_pppParam::rClkG, t_prn(), t_lc::dummy));
    }
 
-   if (_usedSystems['R']) {
+   if (OPT->useSystem('R')) {
      required.push_back(new t_pppParam(t_pppParam::rClkR, t_prn(), t_lc::dummy));
    }
 
-   if (_usedSystems['E']) {
+   if (OPT->useSystem('E')) {
      required.push_back(new t_pppParam(t_pppParam::rClkE, t_prn(), t_lc::dummy));
    }
 
-   if (_usedSystems['C']) {
+   if (OPT->useSystem('C')) {
      required.push_back(new t_pppParam(t_pppParam::rClkC, t_prn(), t_lc::dummy));
    }
Index: trunk/BNC/src/pppRun.cpp
===================================================================
--- trunk/BNC/src/pppRun.cpp	(revision 10589)
+++ trunk/BNC/src/pppRun.cpp	(revision 10590)
@@ -277,10 +277,10 @@
     return;
   }
-
+/*
   int    currentWeek = 0;
   double currentSec  = 0.0;
   currentGPSWeeks(currentWeek, currentSec);
   bncTime currentTime(currentWeek, currentSec);
-
+*/
   // Loop over all observations (possible different epochs)
   // -----------------------------------------------------
@@ -290,5 +290,5 @@
     t_satObs*       newObs = new t_satObs(oldObs);
 
-    // Check regarding current time
+    /* Check regarding current time
     // ----------------------------
     if (OPT->_realTime && BNC_CORE->mode() != t_bncCore::batchPostProcessing ) {
@@ -299,5 +299,5 @@
       }
     }
-
+    */
     // Find the corresponding data epoch or create a new one
     // -----------------------------------------------------
@@ -330,5 +330,5 @@
   // Make sure the buffer does not grow beyond any limit
   // ---------------------------------------------------
-  const unsigned MAX_EPODATA_SIZE = 61;
+  const unsigned MAX_EPODATA_SIZE = 120;
   if (_epoData.size() > MAX_EPODATA_SIZE) {
     delete _epoData.front();
