fixed discovery-service to not output the HTML page