modify the smarty syntax