diff --git a/iTrust/WebRoot/auth/hcp/messageInbox.jsp b/iTrust/WebRoot/auth/hcp/messageInbox.jsp
index 0b60fedc21084d9c33d7b0f182d2dae0dab22dc8..acd87d74bbce0788cd7336a80bf3bdf059a4d116 100644
--- a/iTrust/WebRoot/auth/hcp/messageInbox.jsp
+++ b/iTrust/WebRoot/auth/hcp/messageInbox.jsp
@@ -68,7 +68,7 @@ pageTitle = "iTrust - View My Message ";
 					response.sendRedirect("messageInbox.jsp?edit=true&testFilter="+nf);
 				} else if(request.getParameter("save") != null) {
 					f_action.editMessageFilter(nf);
-					response.sendRedirect("messageInbox.jsp?edit=true&testFilter="+nf);
+					response.sendRedirect("messageInbox.jsp?filter=true");
 				}
 			}
 		}
diff --git a/iTrust/WebRoot/auth/patient/messageInbox.jsp b/iTrust/WebRoot/auth/patient/messageInbox.jsp
index 38668f224d156a898e22a07cb1b69b2bf6d76a03..359dbdf2f44176ddbf083696177309acf9e9c3dd 100644
--- a/iTrust/WebRoot/auth/patient/messageInbox.jsp
+++ b/iTrust/WebRoot/auth/patient/messageInbox.jsp
@@ -67,7 +67,7 @@ pageTitle = "iTrust - View My Message ";
 					response.sendRedirect("messageInbox.jsp?edit=true&testFilter="+nf);
 				} else if(request.getParameter("save") != null) {
 					f_action.editMessageFilter(nf);
-					response.sendRedirect("messageInbox.jsp?edit=true&testFilter="+nf); 
+					response.sendRedirect("messageInbox.jsp?filter=true"); 
 				}
 			}
 		}