check for recor uniqueness