points spline bug fix