diff --git a/lib/models/history.dart b/lib/models/history.dart
index bdc0f5f18728825f2105e7d1065cc21fdfbde51b..663e3d0657de8a69928c3cf1d2b6fa8010b90053 100644
--- a/lib/models/history.dart
+++ b/lib/models/history.dart
@@ -16,6 +16,7 @@ class HistoryProvider with ChangeNotifier {
   List transBC;
   bool isFirstBuild = true;
   String fetchMoreCursor;
+  Map pageInfo;
 
   Future scan() async {
     await Permission.camera.request();
@@ -130,11 +131,11 @@ class HistoryProvider with ChangeNotifier {
     final List<dynamic> blockchainTX =
         (result.data['txsHistoryBc']['both']['edges'] as List<dynamic>);
 
-    final Map pageInfo = result.data['txsHistoryBc']['both']['pageInfo'];
+    pageInfo = result.data['txsHistoryBc']['both']['pageInfo'];
 
     fetchMoreCursor = pageInfo['endCursor'];
-    print(pageInfo['hasPreviousPage']);
-    print(pageInfo['hasNextPage']);
+    print('hasPreviousPage: ' + pageInfo['hasPreviousPage'].toString());
+    print('hasNextPage: ' + pageInfo['hasNextPage'].toString());
 
     if (fetchMoreCursor != null) {
       opts = FetchMoreOptions(
diff --git a/lib/screens/history.dart b/lib/screens/history.dart
index ba1fe8031432991da5e889fef1d8895040bee445..1b3f66e7e414035384f5194567bb28e8cde7efff 100644
--- a/lib/screens/history.dart
+++ b/lib/screens/history.dart
@@ -233,6 +233,7 @@ class HistoryScreen extends StatelessWidget with ChangeNotifier {
                       indent: 0,
                       endIndent: 0,
                     ),
+                    // !_historyProvider.pageInfo['hasPreviousPage'] //TODO: fix value of hasPreviousPage
                     _historyProvider.transBC == null
                         ? Text('Aucune transaction à afficher.')
                         : loopTransactions(context, result),