fix stream size