make sure tool doesn't crash when there are no waypoints