Fixed smarty templates