diff --git a/app/modules/bma/lib/controllers/wot.ts b/app/modules/bma/lib/controllers/wot.ts
index 73422c518b6fe41820b115de7237280ecae6a613..3297de123bec9c20a05c3f411f47948d676d6383 100644
--- a/app/modules/bma/lib/controllers/wot.ts
+++ b/app/modules/bma/lib/controllers/wot.ts
@@ -142,10 +142,13 @@ export class WOTBinding extends AbstractController {
         search
       )) as FullIindexEntry;
     }
-    const certs = await this.server.dal.certsToTarget(
-      idty.pub,
-      IdentityDTO.getTargetHash(idty)
-    );
+    const certs =
+      (idty &&
+        (await this.server.dal.certsToTarget(
+          idty.pub,
+          IdentityDTO.getTargetHash(idty)
+        ))) ||
+      [];
     const theCerts: HttpCertification[] = [];
     for (const cert of certs) {
       const certifier = await this.server.dal.getWrittenIdtyByPubkeyForUidAndMemberAndCreatedOn(
@@ -254,7 +257,7 @@ export class WOTBinding extends AbstractController {
         search
       )) as FullIindexEntry;
     }
-    const certs = await this.server.dal.certsFrom(idty.pub);
+    const certs = (idty && (await this.server.dal.certsFrom(idty.pub))) || [];
     const theCerts: HttpCertification[] = [];
     for (const cert of certs) {
       const certified = await this.server.dal.getWrittenIdtyByPubkeyForUidAndMemberAndCreatedOn(