bug in spline_path