deleting preset paths and classes that are not used.