fix the server name bug