fix stream_stat for native stream