diff --git a/source/adios2/engine/hdf5/HDF5WriterP.cpp b/source/adios2/engine/hdf5/HDF5WriterP.cpp
index 16640b6ce7643eca219aaa101baa36211539de30..bb01c6301ed4328fedff18a525645372c91680b5 100644
--- a/source/adios2/engine/hdf5/HDF5WriterP.cpp
+++ b/source/adios2/engine/hdf5/HDF5WriterP.cpp
@@ -12,9 +12,9 @@
 
 #include <iostream> //needs to go away, this is just for demo purposes
 
+#include "adios2/ADIOSMPI.h"
 #include "adios2/core/Support.h"
 #include "adios2/core/adiosFunctions.h" //CSVToVector
-#include "adiso2/ADIOSMPI.h"
 
 namespace adios
 {
@@ -25,7 +25,7 @@ HDF5Writer::HDF5Writer(ADIOS &adios, const std::string name,
 : Engine(adios, "HDF5Writer", name, accessMode, mpiComm,
          method, /*debugMode, cores,*/
          " HDF5Writer constructor (or call to ADIOS Open).\n"),
-  m_Buffer(accessMode, m_RankMPI, m_DebugMode)
+  m_Buffer(m_DebugMode)
 {
     //
     //  16, 4 vs: 8