finish trajectories