fix for tracing