fixed adding multiple classes