make mlog_stderr work properly