Streamout fix