getting rid of old classes in the markup