stomp: fix uninitialized variable bug
stomp: don't publish trajectories needlessly