deal with stderr