Memory Leaks cleared