deleting duplicated classes