Fix repeat classes