Fixed a bug where an empty string stopped processing of stream