Un-break the actual function of isDuplicate()