delete old classes.