unwrap main from cProfiler