revert the changes of spline start and end velocity