this will insert entries into the map. Instead, do 


if(langValuesMapping.find(code) == langValuesMapping.end()){