fix more compile warnings