remove stderrhandler and stdouthandler vars