clear memory leak 2