fix stream.new for passing string arg