changed views generator
fixed name generation