[N:1]1[CH:6]=[CH:5][CH:4]=[C:3]([CH2:7][CH2:8][CH2:9][C:10]([O:12][CH2:13]C#N)=[O:11])[CH:2]=1.C(N(CC)CC)C>CO>[N:1]1[CH:6]=[CH:5][CH:4]=[C:3]([CH2:7][CH2:8][CH2:9][C:10]([O:12][CH3:13])=[O:11])[CH:2]=1A mixture of cyanomethyl 4-(pyridin-3-yl)butanoate (0.57 g, 2.81 mmol) and triethylamine (57 mg, 0.56 mmol) in dry methanol (10 ml) was heated under reflux overnight, and evaporated to give a residue. The resultant residue was subjected to purification using column chromatography on silica gel to afford a target product, methyl 4-(pyridin-3-yl)butanoate (0.46 g, 92%).