exploring better path making
fix spline type typo