Correct the template.php