add error output stream change