fixed C++ style.