revert changes in ConsoleWriter