Elaborating on Krätzel.s result, Zhai obtained a sharp short interval result for the number of ways of expressing a square-free integer as sums of two squares. In this note we view Zhai.s decomposition as one by degree 1 prime ideals in the Gaussian field and extend Zhai.s approach to a wider range of quadratic fields etc.