delete Smarty