set spline type in init