fix more paths
fix instance creation