modify memory leak