fixed uniqueness on trip ids