Fixed creating substream and seeking