fix bug can not start server