fixed server.c