fix one memory leak