The present invention relates to a method of curing defects in a spin-on-glass more particularly bubble defects on the spin-on-glass. The advantage of the present invention is eliminate o reduce bubble effects on all the layers of SOG i.e. the first layer of SOG and the second and subsequent layers of SOG.