fix error in cpp progress code