fixed subprojects loop