removed dpm in templete.php