Can't understand what is wrong now with a minor issue, maybe someone can help.

I am adding some region-markers buildings to EDB, and they all works perfectly BUT the gondor one.

If I add the gondorian ones, game and campaign loads fine but when I quit the game appears a "RTW crashed" error. Not really a major issue but pretty annoying. Moreover, this ending error may hide some other important error messages, and I would love to have them in check.

I first thought maybe I hit the buildings limit, but its not, I can add more or cut some and it does not affect the error.

I then made some tentative changing names, levels, capabilities to find out what was triggering it and to my surprise i find out the problem is the "carthage," reference.

If I just change it to any other faction or I simply remove it (both from bonus and building requirement) the error disappears.

So i thought maybe that was a new limit of the game, something like a maximum number of references to a faction in EDB. In my EDB there are now 215 occurrences of "carthage," references, excluding the "gondor region" ones. I tried removing some from other buildings, but again, that does not affect the error.

So now I'm puzzled... suggestions anyone?


Code:
building hinterland_region_gondor
{
    levels pelargir ithilien lossarnach dol_amroth gondor
    {
        pelargir requires factions { carthage, } and hidden_resource super_noldor
        {
            capability
            {
                law_bonus bonus 2 requires factions { carthage, }
            }
            construction  1 
            cost  10 
            settlement_min town
            upgrades
            {
                ithilien
            }
        }
        ithilien requires factions { carthage, } and hidden_resource super_noldor
        {
            capability
            {
                law_bonus bonus 2 requires factions { carthage, }
            }
            construction  1 
            cost  10 
            settlement_min town
            upgrades
            {
                lossarnach
            }
        }
        lossarnach requires factions { carthage, } and hidden_resource super_noldor
        {
            capability
            {
                law_bonus bonus 2 requires factions { carthage, }
            }
            construction  1 
            cost  10
            settlement_min town
            upgrades
            {
                dol_amroth
            }
        }
        dol_amroth requires factions { carthage, } and hidden_resource super_noldor
        {
            capability
            {
                law_bonus bonus 2 requires factions { carthage, }
            }
            construction  1 
            cost  10
            settlement_min town
            upgrades
            {
                gondor
            }
        }
        gondor requires factions { carthage, } and hidden_resource super_noldor
        {
            capability
            {
                 law_bonus bonus 2 requires factions { carthage, }
            }
            construction  1 
            cost  10 
            settlement_min town
            upgrades
            {
            }
        }
    }
    plugins 
    {
    }
}