chore(perf): fix perf

Closes #568