FIX: unbind when the view is being destroyed