fix bug in tracing filter