adding ellipse, fix mode adjust