Fixes disposal of views and removes console logs