fix cartridge memory