fix step10.cpp