corrected error associated with template_list.php file