delete the classes with errors