fix splines