hook up location type codes in OTA restore