fixing cartridge instances exceeding max limit