revert templae.php