fix more logging