bug fixing for CleanupAssets