diff --git a/nodewords.module b/nodewords.module
index 3ebc5a8..4742985 100644
--- a/nodewords.module
+++ b/nodewords.module
@@ -583,9 +583,9 @@ function nodewords_preprocess_page(&$variables) {
   if (isset($output_tags['page_title'])) {
     if (!empty($output_tags['page_title'])) {
       drupal_set_title($output_tags['page_title']);
-      $variables['page_title'] = strip_tags(drupal_get_title());
+      $variables['head_title'] = strip_tags(drupal_get_title());
     }
-    unset($output_tags['page_title']);
+    unset($output_tags['head_title']);
   }
 
   $output = _nodewords_output_tags($output_tags);
