fix this to validate ``order`` if ``method='spline'``