[OH:1][C:2]1[C:3]([O:22]C)=[CH:4][C:5]2[CH:9]=[C:8]([C:10]([N:12]3[CH2:17][CH2:16][O:15][CH2:14][CH2:13]3)=[O:11])[S:7][C:6]=2[C:18]=1[N+:19]([O-:21])=[O:20].N1C=CC=CC=1.[Cl-].[Cl-].[Cl-].[Al+3].Cl>C(OCC)(=O)C>[OH:22][C:3]1[C:2]([OH:1])=[C:18]([N+:19]([O-:21])=[O:20])[C:6]2[S:7][C:8]([C:10]([N:12]3[CH2:13][CH2:14][O:15][CH2:16][CH2:17]3)=[O:11])=[CH:9][C:5]=2[CH:4]=1(6-Hydroxy-5-methoxy-7-nitro-benzo[b]thiophen-2-yl)-morpholin-4-yl-methanone (1.0 g) was dissolved in ethyl acetate (11 ml) and pyridine (14 ml) added into. Next aluminum trichloride (0.47 g) was gradually added into the solution. The reaction mixture was refluxed for 2 hours at 110° C. To the warm reaction (60° C.) solution was added the mixture of ice and concentrated hydrochloric acid (1:1) and then it was stirred at room temperature for one hour. The solid was filtered, washed with water and treated with diethyl ether.