fixed the hsl  r^2 fitting

fixed hsl  r^2 fitting