fixes for application-level tracing section