fix more format string bugs