eliminate all memory leak.