fix bug with empty server_name displaying