diff --git a/password_tab.module b/password_tab.module
index 5ca869f..8cf2d69 100644
--- a/password_tab.module
+++ b/password_tab.module
@@ -67,7 +67,7 @@ function password_tab_exit($destination = NULL) {
         // Prevent loops.
         $processed = TRUE;
         // Change the drupal_goto to our change password tab.
-        $path .= preg_replace('/\/edit$/', '/password', $path);
+        $path = preg_replace('/\/edit$/', '/password', $path);
         $opts = array();
         if (!empty($url_parts['fragment'])) {
           $opts['fragment'] = $url_parts['fragment'];
