Fixing some template files tpl.php for correct view