fix more file modes