temporary fix to cpp arguments codegen