Fixed warning; removed stream buffering