diff --git a/src/sat_Z_accuracy.cpp b/src/sat_Z_accuracy.cpp
index 1a2efc44d9235762f34cfaf8f23ca6714b08e551..837a9217c2090e84b72b7ed4a10850b6f6ccfb04 100644
--- a/src/sat_Z_accuracy.cpp
+++ b/src/sat_Z_accuracy.cpp
@@ -53,13 +53,13 @@ int REFPROP_setup() {
     // Load the shared library and set up the fluid
     std::string err;
     bool loaded_REFPROP = load_REFPROP(err, path, DLL_name);
-    //printf("Loaded refprop: %s @ address %zu\n", loaded_REFPROP ? "true" : "false", REFPROP_address());
+    printf("Loaded refprop: %s @ address %zu\n", loaded_REFPROP ? "true" : "false", REFPROP_address());
     if (!loaded_REFPROP) { throw std::invalid_argument("Bad load of REFPROP"); }
     SETPATHdll(const_cast<char*>(path.c_str()), 400);
     int ierr = 0, nc = 1;
-    char herr[255], hfld[10000] = "PROPANE", hhmx[255] = "HMX.BNC", href[4] = "DEF";
+    char herr[256], hfld[10000] = "PROPANE", hhmx[255] = "HMX.BNC", href[4] = "DEF";
     SETUPdll(nc, hfld, hhmx, href, ierr, herr, 10000, 255, 3, 255);
-    if (ierr != 0) { throw std::invalid_argument("Bad load of REFPROP"); }
+    if (ierr != 0) { throw std::invalid_argument("Bad setup of REFPROP: "+std::string(herr)); }
 }
 
 struct REFPROP_sat_output {