fixed bug that caused spline to fail when trying to save bootstrap samples of parameters