more memory leaks fixed using timeline tool