fix teh server startup