fix exception in addStderr