stream2 error fixed by using matchstream instead of byline