corrected generated views