Problem in sb_stream_read