fix bad c++