fix more startup problems