deleting duplicate classes