fixed parameters in cpp file