fixes for views generators