fix more errors

hopefully now it works....