fixed missing variable in displayTripInfo