Minor fixes for views