Index: trunk/ppStack/src/ppStackMatch.c
===================================================================
--- trunk/ppStack/src/ppStackMatch.c	(revision 30620)
+++ trunk/ppStack/src/ppStackMatch.c	(revision 30685)
@@ -312,5 +312,5 @@
             } else {
 		// we need to register the FWHM values for use downstream 
-		pmSubtractionSetFWHMs(options->inputSeeing->data.F32[index], options->targetSeeing);
+		pmSubtractionSetFWHMs(options->targetSeeing, options->inputSeeing->data.F32[index]);
 
                 // Scale the input parameters
Index: trunk/ppStack/src/ppStackSources.c
===================================================================
--- trunk/ppStack/src/ppStackSources.c	(revision 30620)
+++ trunk/ppStack/src/ppStackSources.c	(revision 30685)
@@ -80,5 +80,5 @@
                 continue;
             }
-            source->psfMag += 1.0;
+            source->psfMag += 1.0; // modified only for a test
 #ifdef ASTROMETRY
             if (source->modelPSF) {
@@ -292,5 +292,7 @@
                         continue;
                     }
+		    // XXX need to apply to apMag as well
                     source->psfMag += magCorr;
+                    source->apMag += magCorr;
                 }
             }
