diff --git a/common/abstractMacros.js b/common/abstractMacros.js
index <HASH>..<HASH> 100644
--- a/common/abstractMacros.js
+++ b/common/abstractMacros.js
@@ -62,6 +62,10 @@ class Macros {
       return null;
     }
 
+    if (!fullName) {
+      return null;
+    }
+
 
     const indexOfFirstSpace = fullName.indexOf(' ');
 
diff --git a/frontend/index.js b/frontend/index.js
index <HASH>..<HASH> 100644
--- a/frontend/index.js
+++ b/frontend/index.js
@@ -55,6 +55,17 @@ else {
   }
 }
 
+try {
+   navigator.serviceWorker.getRegistrations().then(function(registrations) {
+       registrations.forEach(function(registration) {
+           console.log('removing registration', registration);
+           registration.unregister();
+       })
+   })
+}
+catch (e) {
+   console.log('failed to unregister all service workers', e);
+}
 
 // // Register the Service Worker
 // if ('serviceWorker' in navigator) {
Unregister sw and fixed a bug if there are no profs