Heating produces polymers. The reaction is carried out at room temperature for a week. A solvent is also very important. Did you have any specific recipes? Assuming you have the exo-isomer in the last reaction you will receive probably 7-carboxyphtalide.