fix more build warnings