- fix memory leak