diff --git a/client/catalog/css/style.css b/client/catalog/css/style.css
index fa00570..d784b53 100644
--- a/client/catalog/css/style.css
+++ b/client/catalog/css/style.css
@@ -3,7 +3,7 @@
   height: 100%;
   margin: 0;
   min-width: 650px;
-  background-image: url(../background.jpg);
+  /* background-image: url(../background.jpg); */
   background-size: cover;
   background-attachment: fixed;
 }
diff --git a/client/catalog/js/catalog.js b/client/catalog/js/catalog.js
index 1627c28..682c504 100644
--- a/client/catalog/js/catalog.js
+++ b/client/catalog/js/catalog.js
@@ -224,7 +224,11 @@
 
       var name = new Name(scope.catalog).append('query-results').append(JSON.stringify({"?": field})).append(ack.get(-3)).append(ack.get(-2));
 
-      scope.face.expressInterest(new Interest(name).setInterestLifetimeMilliseconds(5000),
+      var interest = new Interest(name);
+      interest.setInterestLifetimeMilliseconds(5000);
+      interest.setMustBeFresh(true);
+
+      scope.face.expressInterest(interest,
       function(interest, data){
 
         if (data.getContent().length !== 0){
@@ -295,7 +299,11 @@
 
     var scope = this;
 
-    this.face.expressInterest(new Interest(first).setInterestLifetimeMilliseconds(5000),
+    var interest = new Interest(first)
+    interest.setInterestLifetimeMilliseconds(5000);
+    interest.setMustBeFresh(true);
+
+    this.face.expressInterest(interest,
       function(interest, data){ //Response
 
         if (data.getContent().length === 0){
@@ -343,6 +351,7 @@
 
     var queryInterest = new Interest(queryPrefix);
     queryInterest.setInterestLifetimeMilliseconds(4000);
+    queryInterest.setMustBeFresh(true);
 
     this.face.expressInterest(queryInterest, callback, timeout);
 
