diff --git a/c_gui/Common.cs b/c_gui/Common.cs
index e73f2f06..34feb012 100644
--- a/c_gui/Common.cs
+++ b/c_gui/Common.cs
@@ -349,10 +349,4 @@ public class Common
 ///##################################################################
 ///							END OF FILE
 ///##################################################################
-stReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text);
-					dialogLogin.Destroy();        						
-					InitializeGUI();		
-				}
-				else
-				{
-					entryMasterPassword3.Text="";
+
diff --git a/c_micasad/lss/CASACrypto.cs b/c_micasad/lss/CASACrypto.cs
index 813b3a1b..f9cedea4 100644
--- a/c_micasad/lss/CASACrypto.cs
+++ b/c_micasad/lss/CASACrypto.cs
@@ -577,4 +577,11 @@ namespace sscs.crypto
             }
             catch(Exception e)
             {
-                CSSSLogger.ExpLog(e
\ No newline at end of file
+				CSSSLogger.ExpLog(e.ToString());
+				CSSSLogger.DbgLog("Validation of passcode failed.");
+			}
+			return false;
+		}
+        
+	}
+}