Fix server starting problem