fix more undefined index problems with subprojects