patched stderr