delete smarty