cubic splines output missing "," in last point