cleanup code remove spline objects