dups check for refkey