diff --git a/Pythia8Generator.cpp b/Pythia8Generator.cpp
index fe4b399bb0be97a9967609d1287f99d0da23b2f6..2181aa59255695cb378395d815517dcf9761af43 100644
--- a/Pythia8Generator.cpp
+++ b/Pythia8Generator.cpp
@@ -171,7 +171,7 @@ public:
                 pxl::EventView* eventView = new pxl::EventView();
                 eventView->setName("Generated");
                 event->insertObject(eventView);
-                map<int, pxl::Particle*> idMap;
+                std::map<int, pxl::Particle*> idMap;
                 for (int cnt=0; cnt<num;++cnt) {
                     Pythia8::Particle particle = pEvent[cnt];
                     int status = particle.status();
@@ -217,7 +217,7 @@ public:
             return false;
         }
         
-        void linkMother(int daugtherID, int motherID, map<int, pxl::Particle*> selectedParticles, Pythia8::Event pEvent) {
+        void linkMother(int daugtherID, int motherID, std::map<int, pxl::Particle*> selectedParticles, Pythia8::Event pEvent) {
             if (motherID>0) {
                 if (selectedParticles.find(motherID)!=selectedParticles.end()) {
                     (selectedParticles[motherID])->linkDaughter(selectedParticles[daugtherID]);