diff --git a/include/class.upgrader.php b/include/class.upgrader.php
index 1b490a71dfa91a03e9cd3ddadc86d5b320e0004e..73c6476020ef5d5f7f1d257289d818d30ce8c26b 100644
--- a/include/class.upgrader.php
+++ b/include/class.upgrader.php
@@ -36,7 +36,7 @@ class Upgrader extends SetupWizard {
             set_time_limit(0);
 
         //Init persistent state of upgrade.
-        $this->state = &$_SESSION['ost_upgrader'][$this->getShash()]['state'];
+        $this->state = &$_SESSION['ost_upgrader']['state'];
 
         //Init the task Manager.
         if(!isset($_SESSION['ost_upgrader'][$this->getShash()]))
diff --git a/scp/upgrade.php b/scp/upgrade.php
index c441bd5b71f21addf50d9dd704e92cbaba4128b4..19c9b27c2209cbc81759ca5349f805d695014ada 100644
--- a/scp/upgrade.php
+++ b/scp/upgrade.php
@@ -29,7 +29,6 @@ if($_POST && $_POST['s'] && !$upgrader->isAborted()) {
                 $errors['err']='The upgrader does NOT support upgrading from the current vesion!';
             elseif($upgrader->check_prereq()) {
                 $upgrader->setState('upgrade');
-                $_SESSION['ost_upgrader'] = null;
             } else
                 $errors['prereq']='Minimum requirements not met!';
             break;