correction bug template.php