Fixed a stream bug.