change outputStream