diff --git a/source/Lib/CommonLib/ParameterSetManager.cpp b/source/Lib/CommonLib/ParameterSetManager.cpp
index 12b88724b0fe6d941e54d733071f9b888db10455..cba961967060843e61cf3b0f98d3277120c380b9 100644
--- a/source/Lib/CommonLib/ParameterSetManager.cpp
+++ b/source/Lib/CommonLib/ParameterSetManager.cpp
@@ -87,6 +87,7 @@ bool ParameterSetManager::activatePPS(int ppsId, bool isIRAP)
         if(vps)
         {
           m_activeVPSId = vpsId;
+          m_vpsMap.clearActive();
           m_vpsMap.setActive(vpsId);
         }
         else