pattern on ellipse contour

hello and happy new year,
i want to use curve pattern command to do gearwheel.
but, when i placed my 1 of pitch to a ellipse contour the result is somehow different then i expect.
it doesnt follow the curve, but it twist my path as the same dimension of the ellipse.
waiting for your help. regrads