fixed class delete