fix more compiler warnings