fix?: memory leaks