fix location type