clear old classes