fix ability thirdpartcode to relationship