Index: branches/BNC_2.12/src/bncrinex.cpp
===================================================================
--- branches/BNC_2.12/src/bncrinex.cpp	(revision 8287)
+++ branches/BNC_2.12/src/bncrinex.cpp	(revision 8289)
@@ -305,4 +305,5 @@
                                 _rnxV3filenames, &_nextCloseEpoch);
 
+  int statIDlength = _statID.size() -1;
   QString ID4 = _statID.left(4);
   ID4 = ID4.toUpper();
@@ -315,10 +316,10 @@
   while (it.hasNext()) {
     QString mp = it.next();
-    if (mp.indexOf(ID4) != -1) {
+    if (mp.indexOf(_statID.left(statIDlength)) != -1) {
       ++num;
     }
   }
   if (num > 1) {
-    distStr = "_" + _statID.mid(4);
+    distStr = "_" + _statID.right(1);
   }
 
@@ -359,6 +360,7 @@
             hlpStr + // HMS_period
             QString("_%1S").arg(sampl, 2, 10, QChar('0')) + // sampling rate
+            "_MO" + // mixed OBS
             distStr +
-            "_MO.rnx"; // mixed OBS
+            ".rnx"; 
   }
   else {
