shed tracing code fix