debug: fix slowdown.