remove similar classes