[Br:1][C:2]1[C:7](=[O:8])[N:6]2[CH:9]=[CH:10][CH:11]=[CH:12][C:5]2=[N:4][C:3]=1[CH2:13]Cl.[C:15]([O-:18])(=[O:17])[CH3:16].[K+].CN(C=O)C>O>[C:15]([O:18][CH2:13][C:3]1[N:4]=[C:5]2[CH:12]=[CH:11][CH:10]=[CH:9][N:6]2[C:7](=[O:8])[C:2]=1[Br:1])(=[O:17])[CH3:16]A mixture of 3-bromo-2-(chloromethyl)-4H-pyrido[1,2-a]pyrimidin-4-one (4.53 g, 15.76 mmol), potassium acetate (1.5 equiv.) and DMF (60 mL) was stirred at 40° C. for 3.5 h, at this point the reaction was completed by LCMS. The mixture was cond under reduced pressure. To the residue was added water (100 mL) and the resulting precipitate was collected by filtration, washed with water (100 mL) and dried to give the (3-bromo-4-oxo-4H-pyrido[1,2-a]pyrimidin-2-yl)methyl acetate as a brown solid, which was carried forward without further purification: 1HNMR (400 MHz, DMSO-d6): δ 8.96-8.98 (dd,1H), 8.03-8.08 (m,1H), 7.74-7.76 (dd,1H), 7.43-7.48 (m,1H), 5.2 (s,2H), 2.1 (s,3H).