fix memory leak
forgot this file