hopefully fixed stream problem..