memory leaks fix 1