remove leading and trailing whitespaces in location_house during merge