clean up server.c