spline cleanup automation