Index: trunk/psphot/src/psphotWeightBias.c
===================================================================
--- trunk/psphot/src/psphotWeightBias.c	(revision 6851)
+++ trunk/psphot/src/psphotWeightBias.c	(revision 6862)
@@ -5,5 +5,5 @@
 // only allow the normalization to vary 
 // XXX eventually, we should be able to do this with linear fitting...
-bool psphotWeightBias (pmReadout *readout, psArray *sources, psMetadata *config, pmPSF *psf) { 
+bool psphotWeightBias (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf) { 
 
     int Nfit = 0;
@@ -21,5 +21,5 @@
     
     // option to limit analysis to a specific region
-    char *region = psMetadataLookupStr (&status, config, "ANALYSIS_REGION");
+    char *region = psMetadataLookupStr (&status, recipe, "ANALYSIS_REGION");
     psRegion AnalysisRegion = psRegionForImage (readout->image, psRegionFromString (region));
     if (psRegionIsNaN (AnalysisRegion)) psAbort ("psphot", "analysis region mis-defined");
