view class
generate global_templates
fixed swutched parameters