fix stream