fix c++ search