some failsafes for trajectory