minor fixes to the spiral trajectory.