fix proton cpp