The residue was diluted with ethyl acetate (400 mL), acidified to pH 3 with conc. hydrochloric acid, and then the mixture was transferred to a sep funnel, and the organics were removed.