[CH:1](=[C:5]1[S:9][C:8](=[O:10])[N:7]([CH2:11][CH2:12][CH2:13][CH2:14][S:15][C:16]2[N:21]3[C:22]([CH2:25][N:26]([CH3:28])[CH3:27])=[CH:23][N:24]=[C:20]3[CH:19]=[CH:18][CH:17]=2)[C:6]1=[O:29])[CH2:2][CH2:3][CH3:4].[ClH:30]>CO>[ClH:30].[ClH:30].[CH:1](=[C:5]1[S:9][C:8](=[O:10])[N:7]([CH2:11][CH2:12][CH2:13][CH2:14][S:15][C:16]2[N:21]3[C:22]([CH2:25][N:26]([CH3:28])[CH3:27])=[CH:23][N:24]=[C:20]3[CH:19]=[CH:18][CH:17]=2)[C:6]1=[O:29])[CH2:2][CH2:3][CH3:4]To a solution of 0.43 g (1.0 mmol) of 5-butylidene-3-[4-(3-dimethylaminomethylimidazo[1,2-a]pyridin-5-ylthio)butyl]thiazolidine-2,4-dione in 20 ml of methanol, 0.13 ml of concentrated hydrochloric acid was added. After the solvent was distilled off, the residue was washed with diethyl ether to yield 0.45 g (89.4%, yellow oily substance) of the desired product.