views generator fix