reset std_err at the end of the imports