fixed delete class