garbage collection for views