small fixes for views