fix swipe rewrite trip planer