cleaning old classes