Fixed delete class