fix server startup