add to chkKeyExistByIdx