fix slowdown