fixed leaks