tweaks to tracing_templates