view generator fix.