The present invention relates to a novel method of preparing a compound of the formula I. Diagnostic compositions and their use in the selective detection of disorders and abnormalities associated with Tau aggregates such as Alzheimer's disease (AD) and other tauopathies, for example, using Positron Emission Tomography (PET) imaging are also disclosed.