Neighboring group effect in Pd-catalyzed carbonylation terminated by lactonization: a need for a protective group and/or DMF.