fixed the template