add meta_trace_modules
handle more tracing cases