fixed smarty syntax