fix server name bug