changing class name on template to be more universal
fixed template reference error