Duplicated line. Looks like the second one should be for errstream?