diff --git a/lib/providers/substrate_sdk.dart b/lib/providers/substrate_sdk.dart
index bc6a6627b2a36298e7ef87199910c2f957d626bd..ed68b8397eacd960172c95324a2a5c6efbfc9ca4 100644
--- a/lib/providers/substrate_sdk.dart
+++ b/lib/providers/substrate_sdk.dart
@@ -597,14 +597,14 @@ class SubstrateSdk with ChangeNotifier {
           _removableOn.toString() +
           '\n' +
           _nextIssuableOn.toString());
-      if (_nextIssuableOn > blocNumber) {
-        final certDelayDuration = (_nextIssuableOn - blocNumber) * 6;
-        _result.putIfAbsent('certDelay', () => certDelayDuration);
-        return _result;
-      } else if (_renewableOn != 0) {
+      if (_renewableOn != 0) {
         final certRenewDuration = (_renewableOn - blocNumber) * 6;
         _result.putIfAbsent('certRenewable', () => certRenewDuration);
         return _result;
+      } else if (_nextIssuableOn > blocNumber) {
+        final certDelayDuration = (_nextIssuableOn - blocNumber) * 6;
+        _result.putIfAbsent('certDelay', () => certDelayDuration);
+        return _result;
       } else {
         _result.putIfAbsent('canCert', () => 0);
         return _result;
diff --git a/lib/screens/wallet_view.dart b/lib/screens/wallet_view.dart
index c5b9c69065a8d95c647afa4fb6dab24af0fef9e1..74232ad65eb489de716caf545db1dc23c41b511f 100644
--- a/lib/screens/wallet_view.dart
+++ b/lib/screens/wallet_view.dart
@@ -289,7 +289,7 @@ class WalletViewScreen extends StatelessWidget {
                               ),
                             ),
                             Text(
-                              "Vous pourrez renouveller cette certification\ndans \n$_duration",
+                              "Vous pourrez renouveller\ncette certification\ndans $_duration",
                               textAlign: TextAlign.center,
                               style: TextStyle(
                                   fontSize: buttonFontSize - 4,
diff --git a/pubspec.yaml b/pubspec.yaml
index 43fad76c767bc97f170d490c2cc37a3b1d1a0ff1..91744ebaea119484852959e8a684116f7e542bb3 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -48,7 +48,7 @@ dependencies:
   qr_flutter: #^4.0.0
     git:
       url: https://github.com/insinfo/qr.flutter.git
-      ref: master # branch name
+      ref: master
   responsive_builder: ^0.4.1
   responsive_framework: ^0.2.0
   sentry: ^6.5.1