fixed error in ellipsys