view generator fix