adding robustness catch for illegal tripIds