some update

- fix memory leak