remove diplacted class