diff --git a/bindings/python/gluePyBind11.cpp b/bindings/python/gluePyBind11.cpp
index f3fd1cda5eb84ebeec6a7d7846e0322b35249a21..86eab2cb14aad75939642f69d9147b7e377bb8b5 100644
--- a/bindings/python/gluePyBind11.cpp
+++ b/bindings/python/gluePyBind11.cpp
@@ -71,7 +71,7 @@ adios2::ADIOSPy ADIOSPyInitConfig(const std::string configFile,
     return adios2::ADIOSPy(debugMode);
 }
 
-adios::ADIOSPy ADIOSPyInit(const bool debugMode)
+adios2::ADIOSPy ADIOSPyInit(const bool debugMode)
 {
     return adios2::ADIOSPy(debugMode);
 }
diff --git a/examples/hello/bpWriter/helloBPWriterXML_nompi.cpp b/examples/hello/bpWriter/helloBPWriterXML_nompi.cpp
index 92dede0ea58fd30472eb7d1c7cd2aae474b3cdad..8283fc5f1e5188b6cc7342c1033cc08acf68195c 100644
--- a/examples/hello/bpWriter/helloBPWriterXML_nompi.cpp
+++ b/examples/hello/bpWriter/helloBPWriterXML_nompi.cpp
@@ -10,7 +10,6 @@
 
 #include <ios>      //std::ios_base::failure
 #include <iostream> //std::cout
-#include <mpi.h>
 #include <stdexcept> //std::invalid_argument std::exception
 #include <vector>