c++ fix