fixing cartesian ellipsis fit