Improving assets garbage collection