saving trips to db - fixes