tiny fixes with eventsource and htmlfile transports