remove smarty syntax