[CH3:1][C:2]1[NH:3][C:4]2[C:9]([C:10]=1[CH2:11][C:12]([OH:14])=[O:13])=[CH:8][CH:7]=[CH:6][CH:5]=2.Cl.[CH3:16]O>>[CH3:1][C:2]1[NH:3][C:4]2[C:9]([C:10]=1[CH2:11][C:12]([O:14][CH3:16])=[O:13])=[CH:8][CH:7]=[CH:6][CH:5]=22-(2-Methyl-1H-indol-3-yl)acetic acid (11.7 g, 61.84 mmol) was weighed and added into 100 mL methanol. Concentrated hydrochloric acid 0.7 mL was added dropwise. It was reacted at 70° C. for 4 hours, cooled, rotate evaporated to dryness, extracted with ethyl acetate, washed twice with NaHCO3 aqueous solution. The organic phase was dried and rotate evaporated to dryness to obtain a red brown solid 11.4 g, at a yield of 90.7%.