fix bug in tracer
optimization