custom tracing fix