change report by string to report by stream