optional support for stderr