clear class before