fix memory leak
oops