add check on target key for tpcorr