erase extra resources unused