Fix the ellipse method