fixed views for generic templates
fixed views for generic templates