fix spline for ngtm