fix more dumb leaks