fix slowdown due to trace