modify newRate.cpp for code error