add tracing for Issue #247 [ci skip]