solved,minor leaks