fix availableTrips in client