fixed search and creation of trips