clear memory leak 3