Index: trunk/ppStats/src/ppStatsCell.c
===================================================================
--- trunk/ppStats/src/ppStatsCell.c	(revision 14149)
+++ trunk/ppStats/src/ppStatsCell.c	(revision 18137)
@@ -49,5 +49,5 @@
         // extract from existing headers
         if (cell->hdu) {
-            if (fits && !pmCellReadHeader(cell, fits)) {
+            if (fits && !pmCellReadHeader(cell, fits, config->database)) {
                 psError (PS_ERR_IO, false, "trouble reading cell header\n");
                 psFree(cellResults);
@@ -65,5 +65,5 @@
     // Extract Concept values
     if (psListLength(data->concepts) > 0) {
-        if (fits && cell->hdu && !pmCellReadHeader(cell, fits)) {
+        if (fits && cell->hdu && !pmCellReadHeader(cell, fits, config->database)) {
             psError (PS_ERR_IO, false, "trouble reading cell header\n");
             psFree(cellResults);
