delete class block