delete cosmetic class