change ouput stream