fix crash
bufferedStream