delete duplicates classes