Fixed creation of cartridge.