delete old class