add map check for pair tps