attempt to fix server.cpp