fix: memory leak