fixed usage of concat-stream

close #1