diff --git a/public_html/valuestore/browse.php b/public_html/valuestore/browse.php
index 4871058a0c25f81e5d80f4f987f9dcffd9f56348..997d685b7c4625f2f0228d15cf586349fbd0df9d 100644
--- a/public_html/valuestore/browse.php
+++ b/public_html/valuestore/browse.php
@@ -116,14 +116,14 @@ if(is_array($aData) && count($aData)){
     // echo '<pre>' . print_r($aData, 1);
     foreach ($aData as $aRow){
         $sItemUrl='index.php?project='.$aRow['project'].'&package='.$aRow['package'].'&phase='.$aRow['phase'].'&host='.$aRow['host'].'&variable='.$aRow['variable'].'';
-        // $sTable.='<tr onclick="location.href=\''.$sUrl.'\'">';
-        $sTable.='<tr>';
+        $sTable.='<tr onclick="location.href=\''.$sUrl.'\'">';
+        // $sTable.='<tr>';
         foreach ($aRow as $sKey=>$sValue){
             // $sTable.='<td class="'.$sKey.'"><a href="'.$sUrl.'">'.$sValue.'</a></td>';
             $sTable.='<td class="'.$sKey.'">'.htmlentities($sValue).'</td>';
         }
         $sTable.='<td>'
-                . '<button onclick="location.href=\''.$sItemUrl.'&action=get\'">View</button>'
+                // . '<button onclick="location.href=\''.$sItemUrl.'&action=get\'">View</button>'
                 . '<form method="POST" action="'.$sItemUrl.'">'
                     . '<input type="hidden" name="action" value="delete">'
                     . '<button>Delete</button>'
diff --git a/public_html/valuestore/classes/valuestore.class.php b/public_html/valuestore/classes/valuestore.class.php
index 8d25fceee512787187132c71dc330b19abe0b53c..8110ba3824b292f61d758d71c6d59e530a441bdc 100644
--- a/public_html/valuestore/classes/valuestore.class.php
+++ b/public_html/valuestore/classes/valuestore.class.php
@@ -124,7 +124,9 @@ class valuestore {
             echo $this->_bDebug ? "removing existing file $this->_dbfile ...<br>\n" : '';
             unlink($this->_dbfile);
         }
+        // after deleting the db file we need to re instantiate
         echo $this->_bDebug ? "create database as file $this->_dbfile ...<br>\n" : '';
+        $this->_oDB = new PDO("sqlite:" . $this->_dbfile);
         $this->_makeQuery($this->_sCreate);
         if (!file_exists($this->_dbfile)) {
             $this->_quit(__FUNCTION__ , "ERROR: unable to create sqlite database " . $this->_dbfile);