fixed problem with displayTripInfo