validation for location in trip