Fix typo in trace trajectory init