delete  unuseable resources