ellipsoid fix