correct clientai.cpp