fix more variable errors