bug fixing in CleanupAssets